from connecttodatabase.connect_to_database import E_User


class SCtr_User_M():
    
    @staticmethod
    def ban_block_user(user_id,content):
        return E_User.update_user(user_id,**content)
    
    @staticmethod
    def get_infor(user_id):
        return E_User.get_user_by_id(user_id)
    
    @staticmethod
    def get_user_complan(manager_id):
        return E_User.get_user_complain(manager_id)
    
    @staticmethod
    def user_complain(user_id,complain):
        return E_User.user_complain(user_id,complain)
    